package com.xzan.medusaweb.basicdesign.test.facade;

public class ComputerFacade implements Action {
    private CPU cpu=new CPU();
    private Memory memory=new Memory();
    private Disk disk=new Disk();
    @Override
    public void shutDown() {
        cpu.shutDown();
        memory.shutDown();
        disk.shutDown();
    }

    @Override
    public void startUp() {
        cpu.startUp();
        memory.startUp();
        disk.startUp();

    }
}
